﻿namespace Example.Creational.ObjectPool
{
    public sealed class Car
    {
        public Car(string registration)
        {
            Registration = registration;
        }

        public string Registration { get; set; }

        public override string ToString()
        {
            return Registration;
        }
    }
}